/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2024 All Rights Reserved.
 */
package com.alipay.demo.util;

import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayResponse;

/**
 * @author jishupei.jsp
 * @version : AlipayApiCallback, v0.1 2024年03月27日 5:46 下午 jishupei.jsp Exp $
 */
public interface AlipayApiCallback<T, R extends AlipayResponse> {

    R process() throws AlipayApiException;

    T getData(R response);

    String getApiName();
}
